@charset 'utf-8';
$box_size: 50px;

.goTop {
    width: $box_size;
    height: $box_size;
    position: fixed;
    bottom: 80px;
    right: -$box_size;
    background-color: $base_color;
    color: #fff;
    border-radius: 4px;
    a {
        display: block;
        width: 100%;
        height: 100%;
        background: url(../assets/images/top.png) 50% 50% no-repeat;
    }
}

.goTop.show {
    right: $box_size;
    transform: rotate(-360deg);
}

.goTop:hover {
    background-color: rgba($color: #159daa, $alpha: 0.9)
}